package com.ftx.domain.work;

/**
 * Created by fengtingxin on 2019/4/11.
 */
public class CommonPayVo {

    /**
     * 接口版本 暂定3.0
     */
    private String version;

    /**
     * 商城订单号
     */
    private String orderId;

    /**
     * 支付金额。单位：元，如（30.70）
     */
    private String payAmount;

    /**
     * 订单金额。单位：元  如（35.70）
     */
    private String orderAmount;

    /**
     * 机构代码，无汇款识别码时填写 6
     */
    private String companyId;

    /**
     * 同商城订单类型
     */
    private String orderType;

    /**
     * 支付类型（跟产品确定收款账号后给予）
     */
    private String toType;

    /**
     * 1.商城国内普通支付（默认）
     * 2.商城国内企业支付(对公收银台）
     */
    private String category;

    /**
     * (非必传)
     * 将sendpay转换为json字典数据，如：{"107":"1","173":"1'}转换成字符串，即：107位是1,173位是1
     */
    private String sendPayDict;

    /**
     * （非必传）
     * 支付成功页
     */
    private String successUrl;

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(String payAmount) {
        this.payAmount = payAmount;
    }

    public String getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(String orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getToType() {
        return toType;
    }

    public void setToType(String toType) {
        this.toType = toType;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getSendPayDict() {
        return sendPayDict;
    }

    public void setSendPayDict(String sendPayDict) {
        this.sendPayDict = sendPayDict;
    }

    public String getSuccessUrl() {
        return successUrl;
    }

    public void setSuccessUrl(String successUrl) {
        this.successUrl = successUrl;
    }

    @Override
    public String toString() {
        return "CommonPayVo{" +
                "version='" + version + '\'' +
                ", orderId='" + orderId + '\'' +
                ", payAmount='" + payAmount + '\'' +
                ", orderAmount='" + orderAmount + '\'' +
                ", companyId='" + companyId + '\'' +
                ", orderType='" + orderType + '\'' +
                ", toType='" + toType + '\'' +
                ", category='" + category + '\'' +
                ", sendPayDict='" + sendPayDict + '\'' +
                ", successUrl='" + successUrl + '\'' +
                '}';
    }
}
